package org.example.iris.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DownLoadLogMapper {

    @Insert("insert into download_log(downloader_id, file_id,download_time) values(#{userId}, #{fileId}, now())")
    void insertDownLog(Integer userId, Integer fileId);
}
